getApp(), require("../../FFE95507875DE5CF998F3D00DB5D6824.js"), require("../../26C7E8E6875DE5CF40A180E17E6D6824.js");

Page({
    data: {
      banner_v:[
        {id:'护肤知识大全',value:'护肤常见问题解答',img:'https://6c79-lyr-4gvx88rj047e3d79-1308815870.tcb.qcloud.la/1679410655000.png?sign=9053e5b3a1b1ddee3b440912eb2478fa&t=1679410668',kind:'ban1'},
        {id:'化妆品专区',value:'专业干货大汇总',img:'https://6c79-lyr-4gvx88rj047e3d79-1308815870.tcb.qcloud.la/1679410724000.png?sign=2aeabebaa8c04232736533d9bf82027c&t=1679410733',kind:'ban2'},
        {id:'护肤小常识',value:'只要记住这35条就够了',img:'https://6c79-lyr-4gvx88rj047e3d79-1308815870.tcb.qcloud.la/1679410791000.png?sign=800fb1ae910dd5610525716c77a2ddd0&t=1679410802',kind:'ban3'}],
      fun_1:[
        {kind:"toHistory",
        color:"rgb(238, 184, 123)",
        id:"历史报告",
        value:"皮肤病检测报告"},
        {kind:"",
        color:"rgb(226, 213, 99)",
        id:"敬请期待",
        value:"~~~~~~~~~"}],
      rec:[
        {kind:"changepage_2",name:'祛痘专题',
        img:'https://6c79-lyr-4gvx88rj047e3d79-1308815870.tcb.qcloud.la/1679373180000.png?sign=d1e23fa7b579605a7ff80c2eccdbad05&t=1679373194',
        value:'皮肤科医生的祛痘红黑榜！跟医生首选，不花冤枉钱！'},
        {kind:"changepage_1",name:'抗老专题',
        img:'https://6c79-lyr-4gvx88rj047e3d79-1308815870.tcb.qcloud.la/1679372923000.png?sign=e56a49e861af71fee38e0177077ff203&t=1679372929',
        value:'0成本高效抗老！拯救跨脸！抗老根源抗老法则硬核抗老'},
        {kind:"changepage",
        name:'黑眼圈专题',
        img:'https://6c79-lyr-4gvx88rj047e3d79-1308815870.tcb.qcloud.la/1679373335000.png?sign=63d3a48d9809e399a88304b6b455df88&t=1679373346',
        value:'黑眼圈怎么消除？？眼袋特别重怎么办？？快点进来看看吧'},
      ],
    },
    ban1(){
      wx.navigateTo({
        url: '/pages/ban1/ban1',
      })
    },
    ban2(){
      wx.navigateTo({
        url: '/pages/ban2/ban2',
      })
    },
    ban3(){
      wx.navigateTo({
        url: '/pages/ban3/ban3',
      })
    },
    changepage(){
      wx.navigateTo({
        url: '/pages/article/article',
      })
    },
    changepage_1(){
      wx.navigateTo({
        url: '/pages/article1/article1',
      })
    },
    changepage_2(){
      wx.navigateTo({
        url: '/pages/article2/article2',
      })
    },
    facetest:function(){
      wx.navigateTo({
        url: '/pages/face-test/face-test',
      })
    },
    toHistory: function() {
      console.log("to history"), wx.navigateTo({
          url: "/pages/history/history"
      });
    },
    onLoad: function() {
        console.log("index.onload");
    },
    onReady: function() {
        console.log("index.onready");
    },
    onShow: function() {
        console.log("index.onshow");
    },
    onHide: function() {
        console.log("index.onhide");
    },
    onUnload: function() {
        console.log("index.onunload");
    },
    toMiniApp: function(n) {
        console.log(n);
        var o = n.currentTarget.dataset.appid;
        wx.navigateToMiniProgram({
            appId: o,
            success: function(n) {
                console.log(n);
            }
        });
    },
    onShareAppMessage: function(n) {
        return {
            title: "皮肤病识别",
            path: "/pages/index/index",
            success: function(n) {},
            fail: function(n) {}
        };
    }
});